import Vue from 'vue'
import App from './App.vue'
import { install, h, createApp } from "vue-demi";
import './validator.js'
//import './style/theme-chalk/index.css';// Element样式
// import "@/assets/iconfont/iconfont.js";
// import "@/assets/iconfont/iconfont.css"
import {Button,Icon,Input,InputNumber,Radio,RadioGroup,Checkbox,Message,Modal,Upload} from "@/components/UI"

install();
Vue.config.productionTip = false


// new Vue({
//   router,
//   render: h => h(App),
// }).$mount('#app')

Vue.use(Button).use(Icon).use(Input).use(InputNumber).use(Radio).use(RadioGroup).use(Checkbox).use(Message)
Vue.use(Modal).use(Upload)
const app = createApp({
  render: () => h(App),
}).mount("#app");
